package com.ruoyi.system.Fdongbei.service.impl;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.Fdongbei.domain.TbSdI;
import com.ruoyi.system.Fdongbei.service.ITbSdIService;
import com.ruoyi.system.Fdongbei.service.ITbWlccfwService;
import com.ruoyi.system.Fdongbei.domain.TbWlccfw;
import com.ruoyi.system.Fdongbei.mapper.TbWlccfwMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author fufeng
 * @since 2024-12-10
 */
@Service
public class TbWlccfwServiceImpl implements ITbWlccfwService {

    @Resource
    TbWlccfwMapper tbWlccfwMapper;

    @Resource
    ITbSdIService iTbSdIService;

    @Resource
    ITbWlccfwService iTbWlccfwService;

    @DataSource(value = DataSourceType.LY002_D)

    public int countWlccfw(String nx_wx, String wlbh, String dm) {
        return tbWlccfwMapper.countWlccfw(nx_wx, wlbh, dm);
    }


    @DataSource(value = DataSourceType.LY002_D)

    public List<TbWlccfw> selectWlccfwdm(TbWlccfw tbWlccfw) {
        return tbWlccfwMapper.selectWlccfwdm(tbWlccfw);
    }

    @DataSource(value = DataSourceType.LY002_D)
    public TbWlccfw selectWlccfw(String nx_wx, String wlbh, String dm){
       return tbWlccfwMapper.selectWlccfw(nx_wx,wlbh,dm);
    }
}
